package com.authine.cloudpivot.ext.doman;

import com.authine.cloudpivot.engine.api.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Author hxd
 * @Date 2021/12/17 23:34
 * @Description
 **/
@ApiModel(description = "附件资源")
public class BizAttachmentVo extends BaseModel {


    @ApiModelProperty("资源id")
    private String id;

    @ApiModelProperty("资源关联id")
    private String refId;

    @ApiModelProperty("表单数据id")
    private String bizObjectId;

    @ApiModelProperty("表单数据项编码")
    private String bizPropertyCode;

    @ApiModelProperty("模型编码")
    private String schemaCode;

    @ApiModelProperty("资源名称")
    private String name;

    @ApiModelProperty("资源文件扩展名")
    private String fileExtension;

    @ApiModelProperty("资源大小")
    private Integer fileSize;

    @ApiModelProperty("资源mime type")
    private String mimeType;

    @ApiModelProperty("base64图片改造")
    private String  base64ImageStr;

    @Override
    public String getId() {
        return id;
    }

    @Override
    public void setId(final String id) {
        this.id = id;
    }

    public String getRefId() {
        return refId;
    }

    public void setRefId(final String refId) {
        this.refId = refId;
    }

    public String getBizObjectId() {
        return bizObjectId;
    }

    public void setBizObjectId(final String bizObjectId) {
        this.bizObjectId = bizObjectId;
    }

    public String getBizPropertyCode() {
        return bizPropertyCode;
    }

    public void setBizPropertyCode(final String bizPropertyCode) {
        this.bizPropertyCode = bizPropertyCode;
    }

    public String getSchemaCode() {
        return schemaCode;
    }

    public void setSchemaCode(final String schemaCode) {
        this.schemaCode = schemaCode;
    }

    public String getName() {
        return name;
    }

    public void setName(final String name) {
        this.name = name;
    }

    public String getFileExtension() {
        return fileExtension;
    }

    public void setFileExtension(final String fileExtension) {
        this.fileExtension = fileExtension;
    }

    public Integer getFileSize() {
        return fileSize;
    }

    public void setFileSize(final Integer fileSize) {
        this.fileSize = fileSize;
    }

    public String getMimeType() {
        return mimeType;
    }

    public void setMimeType(final String mimeType) {
        this.mimeType = mimeType;
    }

    public String getBase64ImageStr() {
        return base64ImageStr;
    }

    public void setBase64ImageStr(final String base64ImageStr) {
        this.base64ImageStr = base64ImageStr;
    }
}
